Furthermore, these functions convert input strings to HTML-compatible strings by using the function, SaMakeHtmlString
. This function converts the characters >, <, &,
and "
, to the proper escape sequence.
An example of using the HTML output functions can be found in the directory contrib/SaApi_Example
of the Sapphire/Web distribution. To run the example, create a directory for your project and copy in the contents of the contrib/SaApi_Example
directory. Follow the instructions in the README
file. The Sapphire/Web example creates an HTML file using almost all the HTML output functions. The resulting HTML file contains a Form with various Form Elements, the Table Element, Anchors, and Mailtos.
Begin
in the name, you will need a similar function with End
in the name. SaRnHtml
.h
, can be found in the include
directory of the Sapphire/Web distribution. This file will also show all of the other headers which come with the distribution. The Source Code for these Functions, SaHtmlC.c
, is located in the client/src
directory of the Sapphire/Web distribution.